package com.qpx.goodsservice.dao;

import com.qpx.goodsservice.entity.TItemEnity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

public interface Itemdao extends JpaRepository<TItemEnity,Integer>, CrudRepository<TItemEnity,Integer> {

    public Page<TItemEnity> findAll(Specification<TItemEnity> specification, Pageable pageable);
}
